import './zform/components/base'
import SingleField from "./zform/SingleField";
import {Fragment} from "vue-frag";
import ZFormProvider from "./zform/ZFormProvider";
import * as render from './zform/render'
export let defZFormFieldCom = render.defZFormFieldCom

// import VueCompositionApi from "@vue/composition-api";
export function installFormSingle(Vue) {
  // Vue.use(VueCompositionApi);
  Vue.component('ZFragment', Fragment)
  Vue.component(SingleField.name, SingleField)
  Vue.component(ZFormProvider.name, ZFormProvider)

  // let fieldMixinDefMap = getFieldMixinDefMap()
  // fieldMixinDefMap.forEach(fieldMixin => {
  //   console.log(fieldMixin)
  // })
}
